package com.oa.dao;

import java.util.List;

import com.oa.bean.work.Admin;

public interface AdminDAO {
	
	public void save(Admin admin);

	public void delete(Admin admin);

	public Admin update(Admin admin);

	public List<Admin> queryAll();

	public Admin queryById(Integer id);
	
	public List<Admin> queryByPager(int page, int pageSize);
	
	public Admin login(Admin admin);
}
